package com.ujoin.action.userEx;

import org.springframework.beans.factory.annotation.Autowired;

import com.ujoin.bean.UserEx;
import com.ujoin.service.UserExService;
import com.ujoin.util.ActionEnhanced;

public class GetInfoAction extends ActionEnhanced {

	@Autowired
	private UserExService userExService;
	private UserEx userEx;
	public UserEx getUserEx() {
		return userEx;
	}
	public void setUserEx(UserEx userEx) {
		this.userEx = userEx;
	}

	@Override
	public String execute() throws Exception {
		setJson(userExService.getInfo(userEx));
		return SUCCESS;
	}
}
